package com.zx.cloud.persistence;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.zx.cloud.MyBatisRepository;

@MyBatisRepository
public interface ExtRoleMapper{

	int insertUserRole(Map<String, Object> params);
	
	int removeUserRole(Map<String, Object> params);
	
	int removeUserId(@Param("userId") Long userId);
	
	Long findUserRole(Map<String, Object> params);

	List<Map<String, Object>> list();
	
}